import { axios } from '@/utils/request'

/**
 * api接口列表
 */
const api = {
  detail: '/systemConfig/get',
  save: '/user.adminPrize/save'
}
/**
 * 全部记录
 */
export function detail(params) {
  return axios({
    url: api.detail,
    method: 'post',
    data: params
  })
}

/**
 * 设置
 */
export function save(params) {
  return axios({
    url: api.save,
    method: 'post',
    data: params
  })
}